package com.huangliusong.dubbo;



/**
 * @author huangliusong
 * @since 2018/12/31
 * {@link }
 */
public class QuickstartServiceImpl implements ServiceAPI {
    @Override
    public String sendMessage(String message) {
        System.out.println(message+"<------");
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "huangliusong:"+message;
    }

    @Override
    public String sendmessage02(String message) {
        System.out.println("message01:"+message);
        try {
            Thread.sleep(4000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "quickstart-provider-message02="+message;
    }
}
